package com.jeesite.modules.kj.api.vo.response;

import com.jeesite.modules.kj.entity.KjServiceType;
import com.jeesite.modules.sys.entity.DictData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ServiceTypeResponseVo {

    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "字典名")
    private String name;
    @ApiModelProperty(value = "是否需要填写时长")
    private String needServiceTime;

    public ServiceTypeResponseVo() {
    }

    public ServiceTypeResponseVo(KjServiceType type) {
        this.id = type.getCode();
        this.name = type.getTypeName();
        this.needServiceTime = type.getNeedServiceTime();
    }
}
